<script type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript"> 
	tinyMCE.init({
		// General options
		mode : "textareas",
		theme : "advanced",
		skin : "o2k7",
		plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
 
		// Theme options
		theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
		theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
		theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
		theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true,
 
		// Example word content CSS (should be your site CSS) this one removes paragraph margins
		content_css : "css/word.css",
 
		// Drop lists for link/image/media/template dialogs
		template_external_list_url : "lists/template_list.js",
		external_link_list_url : "lists/link_list.js",
		external_image_list_url : "lists/image_list.js",
		media_external_list_url : "lists/media_list.js",
 
		// Replace values for the template plugin
		template_replace_values : {
			username : "Some User",
			staffid : "991234"
		}
	});
</script>
<script language="javascript">
function hamkttk()
{	
	
	$.post('laydl.php',{name:form1.taikhoan.value} ,
										function(layve)
										{
											$("#kt_taikhoan").html(layve);
										}
	)
	$("#kt_taikhoan").ajaxSend(function(evt, request, settings){ 
        $(this).html('<img src="hinh/index.gif" width="18" height="19"/>'); 
      });

}
function hammk()
{
	if(form1.mk1.value==form1.mk2.value)
	{
		$("#mk").html('M&#7841;t kh&#7843;u h&#7907;p l&#7879;'); 
	}
	else
	{
		$("#mk").html('M&#7841;t kh&#7843;u ch&#432;a h&#7907;p l&#7879;');
	}

}
function xuly()
{
$.post('xulydangky.php',{
tk:form1.taikhoan.value
,mk:form1.mk1.value
,ht:form1.hoten.value
,gt:form1.gioitinh.value
,dt:form1.dienthoai.value
,ns:form1.ngaysinh.value
,email:form1.email.value
,hinh:form1.hinh.value
,mt:form1.mota.value
} ,
										function(layve)
										{
											$("#form").html(layve);
										}
)
}
</script>

<table width="1324" height="653" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="175" height="647" valign="top"><table width="212" height="797" border="0" cellpadding="0" cellspacing="0" style="border:outset;border-width:+7;background-image:url(hinh/3.jpg);border-color:#FFFFCC"">
          <tr>
            <td valign="top">&nbsp;</td>
          </tr>
      </table></td>
      <td width="959" valign="top"><table width="842" height="797" border="0" align="center" cellpadding="3" cellspacing="3" style="border:outset;border-width:+7;border-color:#FFFFCC"">
          <tr>
            <td width="845" align="center" valign="top" class=""="noidung">
		      <div align="left"><font size="+2" color="#0000FF"><B>UPLOAD FILE</B></font> <br/> 
		        <br/>
		      </div>
		      <form action="xulyuploadfile.php" method="post" enctype="multipart/form-data" name="form1">
		        <table width="727" border="0" cellpadding="3" cellspacing="3" style="border:outset;border-width:+4;border-color:#FFFFCC">
				<tr>
                    <td colspan="2"><label><font size="+2"><b>L&#7901;i nh&#7855;n t&#7915; qu&#7843;n tr&#7883; vi&ecirc;n</b></font> </label></td>
                  </tr>
				  <tr>
                    <td colspan="2"><div style="border:inset;border-width:+4;border-color:#FFFFCC">
                      <p>&nbsp;</p>
                      <p>&nbsp;</p>
                      <p>&nbsp;</p>
                      </div>
                    <label></label></td>
                  </tr>
                  <tr>
                    <td width="132"><div align="left">Ten file </div></td>
                    <td width="566"><label>
                      <div align="left">
                        <input name="ten" type="text" id="ten" style="border:inset;border-width:+4;border-color:#FFFFCC" size="72">
                      </div>
                    </label></td>
                  </tr>
                  <tr>
                    <td><div align="left">chu de file </div></td>
                    <td><label>
                      <div align="left">
                        <select name="chude" id="chude" style="border:inset;border-width:+4;border-color:#FFFFCC">
                        </select>
                      </div>
                    </label></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top"><div align="left">mo ta </div></td>
                    <td><label>
                      <div align="left">
                        <textarea name="elm1" cols="70" rows="5" id="mota" style="border:inset;border-width:+4;border-color:#FFFFCC"></textarea>
                      </div>
                    </label></td>
                  </tr>
                  <tr>
                    <td><div align="left">Hinh dai dien </div></td>
                    <td><label>
                      <div align="left">
                        <input name="tenfile" type="file" id="tenfile" style="border:inset;border-width:+4;border-color:#FFFFCC" size="60">
                      </div>
                    </label></td>
                  </tr>
                  <tr>
                    <td colspan="2"><label>
                      <div align="center">
                        <input type="submit" name="Submit" value="Upload">
                        <input type="reset" name="Submit2" value="Bo qua">
                      </div>
                    </label></td>
                  </tr>
                </table>
              </form>            </tr>
      </table></td>
      <td width="168" valign="top"><table width="225" height="797" border="0" cellpadding="0" cellspacing="0" style="border:outset;border-width:+7;background-image:url(hinh/3.jpg);border-color:#FFFFCC"">
          <tr>
            <td valign="top">&nbsp;</td>
          </tr>
      </table></td>
    </tr>
  </table>
